from fileUtil import find_latest_file_with_keyword


class Input:
    startTime = ''
    endTime = ''
    datetime = ''
    incident_Worksheet = r"D:\Download\WeChat Files\wxid_kdchbeq2xllp22\FileStorage\File\2025-05\1746665497902.xlsx"
    # incident_Worksheet = "D:\\家宽\\2025-02\\1740704627375.xlsx"
    pre_warning_1 = r"D:\家宽\2025-05\4.30-5.5-OLT预警信息.xlsx"
    pre_warning_2 = r"D:\家宽\2025-05\4.30-5.5-小区预警信息.xlsx"


Input.pre_warning_1 = find_latest_file_with_keyword(r'D:\家宽\2025-05', 'OLT预警信息')
Input.pre_warning_2 = find_latest_file_with_keyword(r'D:\家宽\2025-05', '小区预警信息')
Input.incident_Worksheet = find_latest_file_with_keyword(r'D:\Download\WeChat Files\wxid_kdchbeq2xllp22\FileStorage\File\2025-05', '174')
print(Input.pre_warning_1)
print(Input.pre_warning_2)
print(Input.incident_Worksheet)
